import request from '@/utils/request'
export const login = data => request.post('/sys/login', data)
export const getUserInfo = () => request.get('/sys/profile')
export const updatePassWord = data => request.put('/sys/user/updatePass', data)
// 分配员工角色接口
export function assignRoles(data) {
  return request({
    url: '/sys/user/assignRoles',
    data,
    method: 'put'
  })
}
